package com.jd.service.impl;


import com.jd.common.DataGridResult;
import com.jd.dao.ShopCarDao;
import com.jd.service.ShopCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/9/20/020.
 */
@Service
public class ShopCarServiceImpl implements ShopCarService {
    @Autowired
    private ShopCarDao shopCarDao;

    public DataGridResult findAllByUid(Integer uid) {
        return new DataGridResult(10, shopCarDao.findAllByUid(uid));
    }
}
